package com.peanut.baby.mvp.login;

import com.peanut.baby.model.AuthrizeInfo;

/**
 * Created by anonymouslystudio on 2017/7/5.
 */

public interface LoginContract {

    interface View{
        void onLoginSuccess();
        void onFailed(String failReason);
        void startCountDown();
        void onCountDown(int current);
        void onCountComplete();
        void onAuthSuccess(AuthrizeInfo info);
    }

    interface Presenter{
        void getVCode(String mobile);
        void submitSdkLogin(AuthrizeInfo info);
        void wxAuth();
    }
}
